package com.ytt.core.model.scores;


import com.ytt.core.model.student.StudentDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

@ApiModel(description = "分数信息")
@Getter
@Setter
@ToString(callSuper = true)
public class ScoresEditDto {

    @ApiModelProperty(position = 1, notes = "对象ID，新增时应当为null, 系统会自动生成", required = true)
    private String id;

    /**
     * 分数
     * 唯一性
     */
    @ApiModelProperty(position = 2, notes = "分数", required = true)
    private int scores;

    /**
     * 分数类型 一个四级 一个六级
     */
    @ApiModelProperty(position = 3, notes = "分数类型 一个四级 一个六级", required = true)
    private ScoresType scoresType;


    /**
     * 分数对应的人员
     */
    @ApiModelProperty(position = 4, notes = "分数对应的人员")
    private StudentDto studentId;
}
